BuffEffect3 = BaseBuffEffect:new();
BuffEffect3.__index = BuffEffect3;

function BuffEffect3:new()
    local object = {};
    setmetatable(object, BuffEffect3);
    return object;
end

function BuffEffect3:action(fight,buff,...)
    local target = select('1', ...);
    local result = select('3', ...);
    local buffEffectValue = decodeJsonStrToTabel(buff.buffBean.f_BuffEffectValue);
    fightLog("[EFFECT]Fighter "..buff.target.fighterId.." Buff"..buff.modelId.." 触发攻击增(减)伤BUFF效果");
    local damage = Mathf.Floor(result.damage * (EnumConst.TEN_THOUSANDTH + buffEffectValue[1]) / EnumConst.TEN_THOUSANDTH);
    fightLog("[DAMAGE]"..buff.target.fighterId.."对"..target.fighterId.."计算BUFF("..buff.modelId..")攻击增(减)伤伤害[4]结果".. subDigitalNum(damage,4));
    result.damage = damage;
    return BaseBuffEffect:action(fight, buff, ...);
end